package com.yunc.modules.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author tao cong cong
 * @create 2018/12/23 7:34 PM
 */
@TableName("shop_item_specs")
@Data
public class ItemSpecs implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long itemId;

    /**
     * 键值对参数
     */
    private String paramData;

    /**
     * 库存
     */
    private Integer stock;

    private Double price;

    private Integer orderNum;
}
